group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 162. 71.0 Blue
2 2 171. 83.3 Brown
3 3 178. 76.4 Grey
4 4 170. 67.9 Brown
5 5 170. 79.8 Blue
6 6 167. 85.4 Grey
7 7 174. 67.1 Grey
8 8 170. 79.1 Blue
9 9 175. 85.4 Green
10 10 165. 76.2 Grey
# ℹ 990 more rows